<?php
namespace app\command;

use think\console\Command;
use think\console\Input;
use think\console\Output;
use app\api\controller\Doubai;

class DbCommand extends Command
{
    protected function configure()
    {
        $this->setName('DbCommand')->setDescription('豆瓣！！');
    }
    protected function execute(Input $input, Output $output)
    {
        $db = new Doubai();
        $db->index();
    }
}